﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Frontend/Frontend.Master" Inherits="System.Web.Mvc.ViewPage<IntroduceCompany.Models.FeedbackCreateModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Feedback
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="100% ;">
        <tr>
            <td class="col-left">
                <div class="map">
                    <!--View map-->
                    <div class="divimg">
                        <img src="https://lh5.googleusercontent.com/-oT2bLo1slKk/UMVxf2pcf5I/AAAAAAAAAK4/SpGUFcUUnIg/s512/viewmap.jpg" alt=""/>
                        <p>Alyshun Company Limited</p>
                        <p>Địa chỉ: 35/18 Đại Nghĩa, P.6, Q.Tân Bình, Tp.HCM</p>
                        <p>Phone: 0987 807 679</p>
                        <p>Email: alyshun.corp@gmail.com</p>
                    </div>
                </div>
            </td>
            <td class="col-center">
                <div class="feedback">
                <% using (Html.BeginForm("Frontend_FeedbackCreate", "Feedback", FormMethod.Post)) {%>
                    <%= Html.AntiForgeryToken(IntroduceCompany.Util.AntiKey.EditSalt)%>
                    <%= Html.ValidationSummary(true) %>
                        <div>
                            <div class="feedback_fl">
                                <p><span class="notice">(*)</span> <%= Html.LabelFor(model => model.FullName)%> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(model => model.FullName, new { Maxlength = "100" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.FullName) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><%= Html.LabelFor(model => model.CompanyName) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(model => model.CompanyName, new { Maxlength = "200" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.CompanyName) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><span class="notice">(*)</span> <%= Html.LabelFor(model => model.Email) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(model => model.Email, new { Maxlength = "100" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.Email) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><%= Html.LabelFor(model => model.Phone) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(model => model.Phone, new { Maxlength = "20" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.Phone) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><%= Html.LabelFor(model => model.Fax) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(model => model.Fax, new { Maxlength = "30" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.Fax) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><span class="notice">(*)</span> <%= Html.LabelFor(model => model.Content) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextAreaFor(model => model.Content, new { Maxlength = "1200" })%><br />
                                    <%= Html.ValidationMessageFor(model => model.Content) %>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p><span class="notice">(*)</span> <%= Html.LabelFor(m=> m.CaptchaValue) %> :</p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <%= Html.TextBoxFor(m => m.CaptchaValue, new { @style="width:100px;"})%> <img src="/vi/Captcha/Show" alt="" style="height:20px;"/><br />
                                    <%= Html.ValidationMessageFor(m => m.CaptchaValue) %>
                                    <%= Html.ValidationMessage("FeedbackCreate_ValidateString_Captcha")%>
                                </p>
                            </div>
                        </div>
                        <div>
                            <div class="feedback_fl">
                                <p style="text-align:center;"><span class="notice">(*)</span> <%= IntroduceCompany.Resources.Resx.Universal_lab_Require %></p>
                            </div>
                            <div class="feedback_fr">
                                <p>
                                    <input type="submit" value="<%= IntroduceCompany.Resources.Resx.FeedbackCreate_btn_btnCreate%>" />
                                    <span class="warning"><%= Html.ValidationMessage("Notice")%></span>
                                </p>
                            </div>
                        </div>
                <% } %>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>

